<form id="pagerForm" method="post" action="{:U('Nav/lists')}">
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="username" value="{$username}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>


<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="{:U('Nav/lists')}" method="post">
	<div class="searchBar">
		<!--<ul class="searchContent">
			<li>
				<label>我的客户：</label>
				<input type="text"/>
			</li>
			<li>
			<select class="combox" name="province">
				<option value="">所有省市</option>
				<option value="北京">北京</option>
				<option value="上海">上海</option>
				<option value="天津">天津</option>
				<option value="重庆">重庆</option>
				<option value="广东">广东</option>
			</select>
			</li>
		</ul>
		-->
		<table class="searchContent">
			<tr>
				<td>
					我的用户：<input type="text" name="username" value="{$username}"/>
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="{:U('Nav/add')}" target="dialog" mask="true"><span>添加</span></a></li>
			<li><a class="delete" href="{:U('Nav/del')}?uid={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="{:U('Nav/edit')}?uid={sid_user}" target="dialog"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr target="sid_user" rel="1">
				<th>id号</th>
				<th>导航名称</th>
				<th>url地址</th>
				<th>排序</th>
				<th>创建时间</th>
				<th>是否前台显示</th>
			</tr>
		</thead>
		<tbody>
		<foreach name="lists" item="vo" >
			<tr target="sid_user" rel="{$vo.id}" height="30px">
				<td>{$vo.id}</td>
				<td>{$vo.name}</td>
				<td>{$vo.url}</td>
				<td>{$vo.order}</td>
				<td>{$vo.create_time}</td>
				<td>
					<if condition="$vo.status eq 1 ">
						<a class="guan" href="{:U('nav/showchange')}?uid={$vo.id}" target="ajaxTodo" >
							<img src="__PUBLIC__/images/ok.png" alt="" />
						</a>
					<else />
						<a class="kai" href="{:U('nav/showchange')}?uid={$vo.id}" target="ajaxTodo" >
							<img src="__PUBLIC__/images/error.png" alt="" />
						</a>
					</if>
					
				</td>
			</tr>
		</foreach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="">{$numPerPage}</option>
				<option value="2">2</option>
				<option value="5">5</option>
				<option value="10">10</option>
				<option value="20">20</option>
			</select>
			<span>共{$totalCount}条</span>
		</div>

		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$currentPage}"></div>

	</div>
</div>


